cURL
curl --request PATCH \ --url https://agent-prod.studio.lyzr.ai/v3/tools/{tool_id} \ --header 'x-api-key: <api-key>'
{ "message": "Tool updated successfully." }
/v3/tools/{tool_id}
tool_id
enabled
true
false
curl -X PATCH "https://agent-prod.studio.lyzr.ai/v3/tools/tool_id?enabled=1" ^ -H "accept: application/json" ^ -H "x-api-key: sk-default-EXAMPLEKEY123"
The ID of the tool to update.
Set true to enable or false to disable the tool.
Tool updated successfully
"Tool updated successfully."